class API {
      /**
     * 短信模板方式  0 .登录模板、1.注册模板、2.忘记密码模板
     */
     static const String SMS_TPL_TYPE_0  = "0";
     static const String SMS_TPL_TYPE_1  = "1";
     static const String SMS_TPL_TYPE_2  = "2";

  // 请求的url
  static const reqUrl = 'http://119.45.49.242:8082/jeecgboot';
  //本地
  static const mreqUrl = 'http://192.168.1.7:8080';
  //
  static const getAllScore = '/share_beans/shareBeans/queryByuuid?uuid=';

  //
  static const getIndexRumorList = '/data/getIndexRumorList';

  //
  static const getIndexRecommendList = '/data/getIndexRecommendList';

  //
  static const getWikiList = '/data/getWikiList';

  //
  static const getStatisticsService = '/data/getStatisticsService';

  //
  static const getAreaStat = '/data/getAreaStat';

  //
  static const getEntries = '/data/getEntries';

  // 版本更新
  static const update = '/app_version/app_version/query';

  // 获取机器列表
  static const timelineService = '/app_esp_ip/app_esp_ip_bean/selectByUUID?uuid=';
  // 用户登录
  static const String USER_LOGIN = reqUrl+"/sys/login";
  static const String SENDSMS = reqUrl+"/sys/sms";
  // 用户注册
  static const String USER_REGISTER = reqUrl+"/sys/user/register";
  // 获取新密钥
  static const String GET_YSYTOEN = reqUrl+"/ysy/appKeyNumsBeans/getNewAuth";
  // 用户重置密码
  static const String USER_REPASSWORD = reqUrl+"/sys/user/passwordChange";
  // 获取uuid
  static const String GET_UUID = reqUrl+"/app_esp_ip/app_esp_ip_bean/getUUID";
  // 删除分享
  static const String deleteShare = reqUrl+"/share_beans/shareBeans//delete?id=";
  // 删除设备接口
  static const String deleteDevice = reqUrl+"/app_esp_ip/app_esp_ip_bean/deleteBychipid";
  //修改接口
  static const String ESPEDIT = reqUrl+"/app_esp_ip/app_esp_ip_bean/edit";
  //分享
  static const SHARE = reqUrl+"/app_esp_ip/app_esp_ip_bean/add";
  //更新分享
  static const updateShare = reqUrl+"/app_esp_ip/app_esp_ip_bean/updateShare";
  //APP轮询接口是否绑定成功
  static const APP_PAIR = reqUrl+"/sys/app_pair?uuid=";
  //机器类别表
  static const DeviceTypeList = reqUrl+"/device_type/deviceType/list" ;
  //获取新的token
  static const GetNewAuth = reqUrl+"/ysy/appKeyNumsBeans/getNewAuth" ;
  //根据appkey获取token
  static const GetNewAuthForPlay = reqUrl+"/ysy/appKeyNumsBeans/getNewAuthForPlay" ;
  //更新萤石云数量接口
  static const addYSYNum = reqUrl+"/ysy/appKeyNumsBeans/edit?appKey=";
}